Method for determining unbiased signal amplitude estimates after cepstral variance modification

ABSTRACT

A method for determining unbiased signal amplitude estimates ( ) after cepstral variance modification of a discrete time domain signal (s(t)), wherein the cepstrally-modified spectral amplitudes ( ) of the discrete time domain signal (s(t)) are χ-distributed with 2{tilde over (μ)} degrees of freedom. A bias reduction factor (r) is determined using the equation 
                 r   2     =       μ     μ   ~       ⁢     ⅇ       ψ   ⁡     (     μ   ~     )       -     ψ   ⁡     (   μ   )               ,         
where 2μ are the degrees of freedom of the χ-distributed spectral amplitudes of the discrete time domain signal (s(t)) and
 
                 ψ   ⁡     (   x   )       =       -   0.5772     -       ∑     n   =   0     ∞     ⁢     (       1     x   +   n       -     1     1   +   n         )           ;         
then the unbiased signal amplitude estimates ( ) are determined by multiplying the cepstrally-modified spectral amplitudes ( ) with the bias reduction factor (r) according to the equation  =r . A method for speech enhancement and a hearing aid use the method for determining unbiased signal amplitude estimates ( ) in order to offer the advantage of spectral modification, such as smoothing, of spectral quantities without affecting their signal power.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority, under 35 U.S.C. §119, of European patent application EP 090 00 445, filed Jan. 14, 2009; the prior application is herewith incorporated by reference in its entirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to a method for determining unbiased signal amplitude estimates after cepstral variance modification of a discrete time domain signal. Moreover, the present invention relates to speech enhancement and hearing aids.

The description will make reference to the following document, which is hereby also incorporated by reference:

-   [1] I. S. Gradshteyn and I. M. Ryzhik, Table of Integrals Series and     Products, 6th ed., A. Jeffrey and D. Zwillinger, Ed. Academic Press,     2000.

In many applications of statistical signal processing, a variance modification, for example a reduction, of spectral quantities derived from time domain signals, such as the periodogram, is needed. If a spectral quantity P is χ²-distributed with 2μ degrees of freedom,

$\begin{matrix} {{{p(P)} = {\frac{1}{\Gamma(\mu)}\left( \frac{\mu}{\sigma^{2}} \right)^{\mu}P^{\mu - 1}{\exp\left( {{- \frac{\mu}{\sigma^{2}}}P} \right)}}},} & (1) \end{matrix}$ it is well known that a moving average smoothing of P over time and/or frequency results in an approximately χ²-distributed random variable with the same mean E{P}=σ² and an increase in the degrees of freedom 2μ that goes along with the decreased variance var{P}=σ⁴/μ. The χ²-distribution holds exactly if the averaged values of P are uncorrelated. A drawback of smoothing in the frequency domain is that the temporal and/or frequency resolution is reduced. In speech processing this may not be desired as temporal smoothing smears speech onsets and frequency smoothing reduces the resolution of speech harmonics. It has recently been shown that reducing the variance of spectral quantities in the cepstral domain outperforms a smoothing in the spectral domain because specific characteristics of speech signals can be taken into account. In the cepstral domain speech is mainly represented by the lower cepstral coefficients that represent the spectral envelope, and a peak in the upper cepstral coefficients that represents the fundamental frequency and its harmonics. Therefore, a variance reduction can be applied to the remaining cepstral coefficients without distorting the speech signal. In general, a cepstral variance reduction (CVR) can be achieved by either selectively smoothing cepstral coefficients over time (temporal cepstrum smoothing—TCS), or by setting those cepstral coefficients to zero that are below a certain variance threshold (cepstral nulling—CN).

However, the application of an unbiased smoothing process in the cepstral domain leads to a bias in the spectral domain: the CVR does not only change the variance of a χ²-distributed spectral random variable P, but also its mean E{P}=σ². If P=|S|² is the periodogram of a complex zero-mean variable S for instance, changing E{P}=E{|S|²} changes the signal power of S.

SUMMARY OF THE INVENTION

It is accordingly an object of the invention to provide a method of determining unbiased signal amplitude estimates after cepstral variance modification which overcomes the above-mentioned disadvantages of the heretofore-known devices and methods of this general type and which minimizes this usually undesired side-effect of cepstral variance modification and which compensates for the bias in signal power/amplitude. It is a further object to provide a related speech enhancement method and a related hearing aid.

With the foregoing and other objects in view there is provided, in accordance with the invention, a method for determining unbiased signal amplitude estimates (

) after cepstral variance modification of a discrete time domain signal (s(t)), wherein cepstrally modified spectral amplitudes (

) of the discrete time domain signal (s(t)) are χ-distributed with 2^({tilde over (μ)}) degrees of freedom. The method comprises the following method steps:

determining a cepstral variance (var{s_(q)}) of cepstral coefficients (s_(q)) of the discrete time domain signal (s(t)) prior to cepstral variance modification;

-   -   determining a mean cepstral variance ( var{{tilde over         (s)}_(q)}) after cepstral variance modification of modified         cepstral coefficients ({tilde over (s)}_(q)) using the cepstral         variance (var{s_(q)}) prior to cepstral variance modification;

determining the 2{tilde over (μ)} degrees of freedom after the cepstral variance modification using the mean cepstral variance ( var{{tilde over (s)}_(q)});

determining a bias reduction factor (r) with the equation

$r^{2} = {\frac{\mu}{\overset{\sim}{\mu}}{\mathbb{e}}^{{\psi{(\overset{\sim}{\mu})}} - {\psi{(\mu)}}}}$ where 2μ are the degrees of freedom of the χ-distributed spectral amplitudes of the discrete time domain signal (s(t)) and

${{\psi(x)} = {{- 0.5772} - {\sum\limits_{n = 0}^{\infty}\left( {\frac{1}{x + n} - \frac{1}{1 + n}} \right)}}};{and}$

determining the unbiased signal amplitude estimates (

) by multiplying the cepstrally-modified spectral amplitudes (

) with the bias reduction factor (r) according to the equation

=r

.

In other words, according to the present invention the above object is solved by a method for determining unbiased signal amplitude estimates after cepstral variance modification, e.g. reduction, of a discrete time domain signal, whereas the cepstrally-modified spectral amplitudes of said discrete time domain signal are χ-distributed with 2{tilde over (μ)} degrees of freedom.

According to a further preferred embodiment said cepstral variance (var{s_(q)}) of cepstral coefficients (s_(q)) of said discrete time domain signal before cepstral variance modification is determined using the equation

${{{var}\left\{ s_{q} \right\}} = {\frac{1}{K}\left( {{\zeta\left( {2,\mu} \right)} + {2{\sum\limits_{m = 1}^{M}{\kappa_{m}{\cos\left( {m\frac{{2\pi}\;}{K}q} \right)}}}}} \right)}},$ where K is the segment size,

${{\zeta\left( {z,\mu} \right)} = {\sum\limits_{n = 0}^{\infty}\;\frac{1}{\left( {\mu + n} \right)^{z}}}},$ M is a presetable natural number, K _(m) is the covariance between two log-periodogram bins log(|S_(k)|²) that are m bins apart i.e. κ_(m)=cov{log(|S _(k)|²), log(|S _(k+m)|²)} with k as the frequency coefficient index, and q is the cepstral coefficient index.

Furthermore K _(m)=0 for m>0 (rectangular window).

Furthermore K ₁=0.507 and K _(m)=0 for m>1 (approximated Hann window).

According to a further preferred embodiment said mean cepstral variance ( var{{tilde over (s)}_(q)}) after cepstral variance modification of modified cepstral coefficients ({tilde over (s)}_(q)) is determined using the equation

${\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}\;{{var}\left\{ s_{q} \right\} b_{q}}}}},$ where √ b_(q) is a presetable quefrency dependent modification factor.

Furthermore, b_(q)ε{0, 1} is the indicator function and sets those cepstral coefficients (s_(q)) to zero that are below a presetable variance threshold (cepstral nulling—CN).

According to a further preferred embodiment said mean cepstral variance ( var{{tilde over (s)}_(q)}) after cepstral variance modification of modified cepstral coefficients ({tilde over (s)}_(q)) is determined using the equation

${\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}\;{{var}\left\{ s_{q} \right\}\frac{1 - \alpha_{q}}{1 + \alpha_{q}}}}}},$ where α_(q) is a presetable quefrency dependent modification factor (temporal cepstrum smoothing—TCS).

According to a further preferred embodiment said 2{tilde over (μ)} degrees of freedom after cepstral variance modification are determined using the equation ζ(2, {tilde over (μ)})=K var{{tilde over (s)}_(q)}.

With the above and other objects in view there is also provided, in accordance with the invention, a method for speech enhancement which incorporates the above method according to the present invention.

Furthermore, there is provided a hearing aid with a digital signal processor for carrying out a method according to the present invention.

Finally, there is provided a computer program product with a computer program which comprises software means for executing a method according to the present invention, if the computer program is executed in a control unit.

The invention offers the advantage of spectral modification, e.g. smoothing, of spectral quantities without affecting their signal power. The invention works very well for white and colored signals, rectangular and tapered spectral analysis windows.

The above described methods are preferably employed for the speech enhancement of hearing aids. However, the present application is not limited to such use only. The described methods can rather be utilized in connection with other audio devices such as mobile phones.

Other features which are considered as characteristic for the invention are set forth in the appended claims.

Although the invention is illustrated and described herein as embodied in method for determining unbiased signal amplitude estimates after cepstral variance modification, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the invention and within the scope and range of equivalents of the claims.

The construction and method of operation of the invention, however, together with additional objects and advantages thereof will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING

FIG. 1—The cepstral variance for a computer-generated white Gaussian time-domain signal analyzed with a non-overlapping rectangular analysis window ω_(t) (equation 2) and a Hann window with half-overlapping frames. The empirical variances are compared to the theoretical results in equation 19 with K ₁=0 for the rectangular window and K ₁=0.507 for the Hann window. Here K=512. The spectral coefficients are complex Gaussian distributed.

FIG. 2—Histogram and distribution for spectral bin k=20 and K=512 before and after TCS. The analysis was done using computer generated pink Gaussian noise, non-overlapping rectangular windows (2A) and 50% overlapping Hann-windows (2B). The recursive smoothing constant in equation 22 is chosen as α_(q)=0.4(1+cos(2πq/K)).

FIG. 3—Histogram and distribution for spectral bin k=20 and K=512 before and after a CN. The analysis was done using computer generated pink Gaussian noise, non-overlapping rectangular windows (3A) and 50% overlapping Hann-windows (3B). Cepstral coefficients q>K/8 are set to zero.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS OF THE INVENTION Definition of Cepstral Coefficients

We consider the cepstral coefficients derived from the discrete short-time Fourier transform S_(k)(I) of a discrete time domain signal s(t), where t is the discrete time index, k is the discrete frequency index, and I is the segment index. After segmentation the time domain signal is weighted with a window ω_(t) and transformed into the Fourier domain, as

$\begin{matrix} {{{S_{k}(l)} = {\sum\limits_{t = 0}^{K - 1}\;{w_{t}{s\left( {{lL} + t} \right)}{\mathbb{e}}^{{- j}\; 2\;\pi\;{{kt}/K}}}}},} & (2) \end{matrix}$ where L is the number of samples between segments, and K is the segment size. The inverse discrete Fourier transform of the logarithm of the periodogram yields the cepstral coefficients

$\begin{matrix} {{{s_{q}(l)} = {\frac{1}{K}{\sum\limits_{k = 0}^{K - 1}\;{{\log\left( {{S_{k}(l)}}^{2} \right)}{\mathbb{e}}^{j\; 2\;\pi\;{{kq}/K}}}}}},} & (3) \end{matrix}$ where q is the cepstral index, a.k.a. the quefrency index. As the log-periodogram is real-valued, the cepstrum is symmetric with respect to q=K/2. Therefore, in the following we will only discuss the lower symmetric part qε{0, 1, . . . , K/2}. Statistical Properties of Log-Periodograms and Cepstral Coefficients

It is well known that for a Gaussian time signal s(t), the spectral coefficients S_(k) are complex Gaussian distributed and the spectral amplitudes |S_(k)| are Rayleigh distributed, i.e. χ-distributed with two degrees of freedom for kε{1, . . . , K/2−1, K/2+1, . . . , K−1}, and with one degree of freedom at kε{0,K/2}. The χ-distribution is given by

$\begin{matrix} {{{p\left( {S_{k}} \right)} = {\frac{2}{\Gamma(\mu)}\left( \frac{\mu}{\sigma_{s,k}^{2}} \right)^{\mu}{S_{k}}^{{2\;\mu} - 1}{\exp\left( {{- \frac{\mu}{\sigma_{s,k}^{2}}}{S_{k}}^{2}} \right)}}},} & (4) \end{matrix}$ where 2μ are the degrees of freedom and σ² _(s, k) is the variance of S_(k). The distribution of the periodogram P_(k)=|S_(k)|² is then found to be the χ²-distribution,

$\begin{matrix} {{p\left( P_{k} \right)} = {\frac{1}{\Gamma(\mu)}\left( \frac{\mu}{\sigma_{s,k}^{2}} \right)^{\mu}P_{k}^{u - 1}{{\exp\left( {{- \frac{\mu}{\sigma_{s,k}^{2}}}P_{k}} \right)}.}}} & (5) \end{matrix}$

Even if the time domain signal is not Gaussian distributed, the complex spectral coefficients are asymptotically Gaussian distributed for large K. However, for segment sizes used in common speech processing frameworks, it can be shown that the complex spectral coefficients of speech signals are super-Gaussian distributed. In recent works it is argued that choosing μ<1 in equation 4 may yield a better fit to the distribution of speech spectral amplitudes than a Rayleigh distribution (μ=1). Therefore, results are derived for arbitrary values of μ. To compute the variance of the cepstral coefficients we first derive the variance of the log-periodogram, var{log(P _(k))}=E{(log(P _(k)))²}−(E{log(P _(k))})².  (6)

With [1, (4.352.1)], the expected value of the log-periodogram can be derived as E{log P _(k)}=ψ(μ)−log(μ)+log(σ_(s, k) ²),  (7) where Φ( ) is the psi-function [1, (8.360)]. The first term on the right hand side of equation 6 can be derived using [1, (4.358.2)], as E{(log P _(k))²}=(ψ(μ)−log(μ)+log(σ_(s, k) ²))²+ζ(2,μ),  (8) where ζ(•,•) is Riemann's zeta-function [1, (9.521.1)]. With equations 6, 7 and 8 the variance of the log-periodogram results in var{log P _(k)}=ζ(2, μ)=κ₀.  (9)

It can be shown that the covariance matrix of the cepstral coefficients can be gained by taking the two dimensional inverse Fourier transform of the covariance matrix of the log-periodogram as

$\begin{matrix} {{{{cov}\left\{ {s_{q_{1}},s_{q_{2}}} \right\}} = {\frac{1}{K^{2}}{\sum\limits_{k_{2} = 0}^{K - 1}\;{\sum\limits_{k_{1} = 0}^{K - 1}\;{{cov}\left\{ {{\log\left( P_{k_{1}} \right)},{\log\left( P_{k_{2}} \right)}} \right\}{\mathbb{e}}^{j\frac{2\;\pi}{K}q_{1}k_{1}}{\mathbb{e}}^{j\frac{2\;\pi}{K}q_{2}k_{2}}}}}}},} & (10) \end{matrix}$ where k₁, k₂ε{0, . . . , K−1} are frequency indices, and q₁, q₂ ε{0, . . . , K/2} are quefrency indices. For large K, we may neglect the fact that at kε{0,K/2} the variance var{log P_(0,K/2)}=ζ(2, μ/2) is larger than for kε{1, . . . , K/2−1, K/2+1, . . . , K−1} where var{log P_(k)}=ζ(2, μ)=K ₀. If frequency bins are uncorrelated, i.e. cov{log P_(k1), log P_(k2)}=0 for k₁≠k₂, the covariance matrix of the cepstral coefficients results in

$\begin{matrix} {{{{cov}\left\{ {s_{q_{1}},s_{q_{2}}} \right\}}}_{{rect}.} = \left\{ \begin{matrix} {{\frac{1}{K}\kappa_{0}},} & {{q_{1} = q_{2}},{q_{1} \in \left\{ {1,\ldots\mspace{14mu},{\frac{K}{2} - 1}} \right\}}} \\ {{\frac{2}{K}\kappa_{0}},} & {{q_{1} = q_{2}},{q_{1} \in \left\{ {0,\frac{K}{2}} \right\}}} \\ {0,} & {{q_{1} \neq q_{2}},} \end{matrix} \right.} & (11) \end{matrix}$ with K ₀ being defined in equation 9.

We now discuss the statistics of the log-periodogram and cepstral coefficients for tapered spectral analysis windows as used in many speech processing algorithms. The effect of tapered spectral analysis windows on the variance of the log-periodograms for the special case μ=1 was previously considered, however here we additionally discuss the effect on the covariance matrix of the log-periodogram and the statistics of cepstral coefficients.

In equation 2 tapered spectral analysis windows ω_(t) result in a correlation of adjacent spectral coefficients, given by

$\begin{matrix} {\rho_{k_{1},k_{2}}^{2} = {\frac{{{E\left\{ {S_{k_{1}}S_{k_{2}}^{*}} \right\}}}^{2}}{E\left\{ {S_{k_{1}}}^{2} \right\} E\left\{ {S_{k_{2}}}^{2} \right\}}.}} & (12) \end{matrix}$

For a Hann window, the correlation of the real valued zeroth and (K/2)th spectral coefficients with the adjacent complex valued coefficients results in var{Re{S_(k)}}≠var{Im{S_(k)}} for kε{1, K/2−1, K/2+1, K−1}. As a consequence, var{log P_(k)} will be slightly larger than ζ(2,μ) for kε{1, K/2−1, K/2+1, K−1}. As, for large K this hardly affects the cepstral coefficients, the effect is neglected here.

However, the general correlation of frequency coefficients ρ greatly affects the variance of cepstral coefficients. The covariance matrix of the log-periodograms results in a K×K symmetric Toeplitz matrix defined by the vector [K _(O), K ₁, . . . , K _(K/2), K _(K/2+1), K _(K/2), K _(K/2−1), . . . , K ₁]. For large K, when K _(m)=0 for m>M, MεK/2+1, the covariance matrix of cepstral coefficients for correlated data is derived to be

$\begin{matrix} {{{cov}\left\{ {s_{q_{1}},s_{q_{2}}} \right\}} = \left\{ \begin{matrix} {{\frac{1}{K}\left( {\kappa_{0} + {2{\sum\limits_{m = 1}^{M}\;{\kappa_{m}{\cos\left( {m\frac{2\;\pi}{K}q_{1}} \right)}}}}} \right)},} & {{{{for}\mspace{14mu} q_{1}} = q_{2}},{q_{1} \in \left\{ {1,\ldots\mspace{14mu},{\frac{K}{2} - 1}} \right\}}} \\ {{\frac{2}{K}\left( {\kappa_{0} + {2{\sum\limits_{m = 1}^{M}\;{\kappa_{m}{\cos\left( {m\frac{2\;\pi}{K}q_{1}} \right)}}}}} \right)},} & {{{{for}{\mspace{11mu}\;}q_{1}} = q_{2}},{q_{1} \in \left\{ {0,\frac{K}{2}} \right)}} \\ {0,} & {{{for}{\mspace{11mu}\;}q_{1}} \neq {q_{2}.}} \end{matrix} \right.} & (13) \end{matrix}$

It can be seen that, also for correlated log-periodograms, cepstral coefficients are uncorrelated for large K.

To determine the parameters K _(m) we derive the covariance of two log-periodograms log(P_(k1)) and log(P_(k2)) with correlation ρ. For this, we use the bivariate χ²-distribution as

$\begin{matrix} {{{p\left( {P_{k_{1}},P_{k_{2}}} \right)} = {\frac{P_{k_{1}}^{\mu - 1}P_{k_{2}}^{\mu - 1}}{2^{{2\;\mu} + 1}\sqrt{\pi}{\Gamma(\mu)}\left( {1 - \rho^{2}} \right)^{\mu}}{\mathbb{e}}^{- \frac{P_{k_{1}} + P_{k_{2}}}{2{({1 - \rho^{2}})}}}}}{{\sum\limits_{n = 0}^{\infty}\;{\left( {1 + \left( {- 1} \right)^{n}} \right)\left( \frac{\rho}{1 - \rho^{2}} \right)^{n}\frac{\Gamma\left( \frac{n + 1}{2} \right)}{{n!}{\Gamma\left( {\frac{n}{2} + \mu} \right)}}P_{k_{1}}^{\frac{n}{2}}P_{k_{2}}^{\frac{n}{2}}}},}} & (14) \end{matrix}$ with ┌( ) the complete gamma function [1, (8.31)]. Note that the infinite sum in equation 14 can also be expressed in terms of the hypergeometric function. With [1, (4.352.1)] and [1, (3.381.4)] we find

$\begin{matrix} {\begin{matrix} {{{cov}\left\{ {{\log\left( P_{k_{1}} \right)},{\log\left( P_{k_{2}} \right)}} \right\}} = {{E\left\{ {{\log\left( P_{k_{1}} \right)}{\log\left( P_{k_{2}} \right)}} \right\}} -}} \\ {E\left\{ {\log\left( P_{k_{1}} \right)} \right\} E\left\{ {\log\left( P_{k_{2}} \right)} \right\}} \\ {= {{\sum\limits_{n = 0}^{\infty}\;{{A\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)}\left( {B\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)} \right)^{2}}} -}} \\ {\left( {\sum\limits_{n = 0}^{\infty}\;{{A\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)}{B\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)}}} \right)^{2},} \end{matrix}\mspace{79mu}{where}} & (15) \\ {{{A\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)} = {\frac{\left( {1 - \rho_{k_{1},k_{2}}^{2}} \right)^{\mu}}{2\sqrt{\pi}{\Gamma(\mu)}}\left( {1 + \left( {- 1} \right)^{n}} \right)2^{n}\rho_{k_{1},k_{2}}^{n}\frac{{\Gamma\left( \frac{n + 1}{2} \right)}{\Gamma\left( {\frac{n}{2} + \mu} \right)}}{n!}}},} & (16) \\ {\mspace{79mu}{{{B\left( {n,\mu,\rho_{k_{1},k_{2}}} \right)} = {{\psi\left( {\mu + \frac{n}{2}} \right)} + {\log\left( {2\left( {1 - \rho_{k_{1},k_{2}}^{2}} \right)} \right)}}},}} & (17) \end{matrix}$ and ρ² _(k1, k2) defined in equation 12. With equation 15, the covariance of neighboring log-periodogram bins can be determined. It can be shown that for a Hann window and σ² _(s, k)=σ² _(s, k+1)≈σ² _(s, k+2), the normalized correlation results in ρ² _(k, k+1)=4/9 and ρ² _(k, k+2)=1/36. Hence, for a Hann window and μ=1 we have K ₁=0.507 and K ₂=0.028. As K ₂<<K ₁, the influence of K ₂ can be neglected. We thus assume that only adjacent frequency bins are correlated. The resulting covariance matrix of the log-periodograms is a K×K symmetric Toeplitz matrix defined by the vector [K ₀, K ₁, 0, . . . , 0, K ₁]. The sub diagonals with the value K ₁ result in an additional cosine term in the covariance matrix of the cepstral coefficients, as

$\begin{matrix} {{{{cov}\left( {s_{q_{1}},s_{q_{2}}} \right\}}}_{Hann} = \left\{ \begin{matrix} {{\frac{1}{K}\left( {\kappa_{0} + {2\;\kappa_{1}{\cos\left( {\frac{2\;\pi}{K}q_{1}} \right)}}} \right)},} & {{q_{1} = q_{2}},{q_{1} \in \left\{ {1,\ldots\mspace{14mu},{\frac{K}{2} - 1}} \right\}}} \\ {{\frac{2}{K}\left( {\kappa_{0} + {2\;\kappa_{1}{\cos\left( {\frac{2\;\pi}{K}q_{1}} \right)}}} \right)},} & {{q_{1} = q_{2}},{q_{1} \in \left\{ {0,\frac{K}{2}} \right\}}} \\ {0,} & {q_{1} \neq {q_{2}.}} \end{matrix} \right.} & (18) \end{matrix}$

Therefore, the variance of the cepstral coefficients is given by var{s _(q)}=(ζ(2, μ)+2κ₁ cos(2πq/K))/K.  (19) with K ₁=0.507 for the Hann window and K ₁=0 for the rectangular window.

The cepstral variance for μ=1 and the rectangular window (K ₁=0) or the Hann window (K ₁=0.507) are compared in FIG. 1 where we also show empirical data. It is obvious that equation 18 provides an excellent fit for both the rectangular window and the Hann window. The fact that we set K ₂=0 for the Hann window is thus shown to be a reasonable approximation. As the additional cosine-terms in equations 13 and 19 have zero mean, the mean cepstral variance

$\begin{matrix} {\overset{\_}{{var}\left\{ s_{q} \right\}} = {{\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}\;{{var}\left\{ s_{q} \right\}}}} = {{\zeta\left( {2,\mu} \right)}/K}}} & (20) \end{matrix}$ equals the cepstral variance of a rectangular window for arbitrary spectral correlation and thus independent of the chosen analysis window ω_(t). Therefore, the mean variance of the cepstral coefficients and the degrees of freedom 2μ are directly related. Statistical Properties After Cepstral Variance Reduction

We approximate the distribution of spectral amplitudes after CVR by the parametric χ-distribution. As shown in the experiments below, this approximation is fully justified for uncorrelated spectral bins, and gives sufficiently accurate results for spectrally correlated bins. With this assumption we see that due to equation 20 a CVR increases the parameter μ of the χ-distribution. Then, due to equation 7, changing μ also changes the spectral power ρ² _(s, k). Hence, a variance reduction in the cepstral domain results in a bias in the spectral power that can now be accounted for. In the following, we denote parameters after CVR by a tilde. We will discuss CN and TCS separately.

If we set a certain number of cepstral coefficients in qε{1, . . . , K/2−1} to zero (CN), the mean variance after CVR can be determined as

$\begin{matrix} {{\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}{{var}\left\{ s_{q} \right\} b_{q}}}}},} & (21) \end{matrix}$ where the indicator function b_(q)ε{0, 1} sets those cepstral coefficients to zero that are below a certain variance threshold.

For TCS the cepstral coefficients are recursively smoothed over time with a quefrency-dependent smoothing factor α_(q) {tilde over (s)} _(q)(l)=α_(q) {tilde over (s)} _(q)(l−1)+(1−α_(q)) s _(q)(l).  (22)

Assuming that successive signal segments are uncorrelated, the mean cepstral variance can be determined by

$\begin{matrix} {{\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}{{var}\left\{ s_{q} \right\}\frac{1 - \alpha_{q}}{1 + \alpha_{q}}}}}},} & (23) \end{matrix}$ which is also a reasonable assumption for Hann analysis windows with 50% overlap. For higher signal segment correlation, the mean variance after CVR var{{tilde over (s)}_(q)} can be measured offline for a fixed set of recursive smoothing constants α_(q). For a given μ of the spectral amplitudes before CVR, the cepstral variance can be determined via equation 19 and thus the mean cepstral variance after CVR var{{tilde over (s)}_(q)} via equation 21 or equation 23. With a known mean cepstral variance, the parameter {tilde over (μ)} can be determined using ζ(2, {tilde over (μ)})=K var{{tilde over (s)}_(q)},  (24) where 2{tilde over (μ)} are the degrees of freedom after CVR.

The spectral power bias σ_(s, k) ²/{tilde over (σ)}_(s, k) ² can then be determined using equation 7, as

$\begin{matrix} {{\log\left( {\sigma_{s,k}^{2}/\overset{\sim}{\sigma_{s,k}^{2}}} \right)} = {{E\left\{ {\log\left( {S_{k}}^{2} \right)} \right\}} - {\psi(\mu)} + {\log(\mu)} - {\left( {{E\left\{ {\log\left( {\overset{\sim}{S_{k}}}^{2} \right)} \right\}} - {\psi\left( \overset{\sim}{\mu} \right)} + {\log\left( \overset{\sim}{\mu} \right)}} \right).}}} & (25) \end{matrix}$

Note that a change in signal power due to a reduction of spectral outliers shall not be compensated. We assume that the expected value of the log-periodogram of the desired signal stays unchanged after CVR. Hence E{log(|Sk|²)} and E{

} cancel out in equation 25 and the bias in spectral power can be compensated by the frequency independent factor

$\begin{matrix} {r^{2} = {{\sigma_{s,k}^{2}/\overset{\sim}{\sigma_{s,k}^{2}}} = {\frac{\mu}{\overset{\sim}{\mu}}{\mathbb{e}}^{{\psi{(\overset{\sim}{\mu})}} - {\psi{(\mu)}}}}}} & (26) \end{matrix}$ that is applied to all spectral bins as

=

.  (27)

Therefore, we obtain cepstrally-smoothed spectral amplitudes

 with reduced cepstral variance that are approximately χ-distributed according to equation 4 with 2{tilde over (μ)} degrees of freedom and have the correct signal power.

In FIG. 2 and FIG. 3 it is shown that above procedure works very well to estimate the degrees of freedom and the signal power of spectral amplitudes after CVR. For this we create pink Gaussian noise, apply a CVR, estimate the degrees of freedom and compensate for the signal power bias. An excellent match of the observed histogram and the derived distribution before and after TCS and CN for the rectangular window and a good match for the overlapping Hann window is shown. For the rectangular window, the deviation between the power before CVR E{|Sk|²} and the power after CVR and bias compensation E{

²} is less than 1%, while for the Hann window the error is approximately 4%. These errors are representative for typical speech processing applications where the lower cepstral coefficients are not or little modified. The larger error for Hann windows can be accounted to the fact that the χ-distribution only approximates the true distribution for correlated coefficients.

Mean of the Cepstrum

In the following results are generalized where μ=1 is assumed. Due to the linearity of the inverse Fourier transform IDFT{·} and equation 7, the mean value of the cepstral coefficients defined by equation 3 is given by

$\begin{matrix} \begin{matrix} {{E\left\{ s_{q} \right\}} = {{IDFT}\left\{ {E\left\{ \;{\log\; P_{k}} \right\}} \right\}}} \\ {= {{{IDFT}\;\left\{ {\log\;\sigma_{s,k}^{2}} \right)} - {{IDFT}\left\{ {{\log\;\mu_{k}} - {\psi\left( \mu_{k} \right)}} \right\}}}} \\ {= {{{IDFT}\left\{ {\log\;\sigma_{s,k}^{2}} \right\}} - {ɛ_{q}.}}} \end{matrix} & (28) \end{matrix}$

Therefore, even for white signals, when σ² _(s, k) is constant over frequency, the mean of the cepstral coefficients is not zero for q>0 but −ε_(q). When μ_(k) is μ/2 for kε{(0, K/2}), and μ else, the deviation ε_(q) results in

$\begin{matrix} \begin{matrix} {ɛ_{q} = {{IDFT}\left\{ {{\log\;\mu_{k}} - {\psi\left( \mu_{k} \right)}} \right\}}} \\ {= \left\{ \begin{matrix} {{{\frac{K - 2}{K}\left( {{\log\;\mu} - {\psi(\mu)}} \right)} + {\frac{2}{K}\left( {{\log\;\frac{\mu}{2}} - {\psi\left( \frac{\mu}{2} \right)}} \right)}},} & {{{if}\mspace{14mu} q} = 0} \\ {{{\frac{2}{K}\left( {{\log\;\frac{\mu}{2}} - {\psi\left( \frac{\mu}{2} \right)}} \right)} - {\frac{2}{K}\left( {{\log\;\mu} - {\psi(\mu)}} \right)}},} & {{if}\mspace{14mu} q\mspace{14mu}{odd}} \\ {0,} & {{if}\mspace{14mu} q\mspace{14mu}{even}} \end{matrix} \right.} \end{matrix} & (29) \end{matrix}$

If μ_(k)=μ is constant for all k the deviation results in ε_(q)=log(μ)−φ(μ) for q=0 and ε_(q)=0 else. Because in the CVR method proposed in the literature certain cepstral coefficients are set to zero better performance is achieved when the cepstrum actually has zero mean for white signals. Such an alternative definition of the cepstrum is given by {tilde over (s)}_(q)=s_(q)+ε_(q) However, as typically ε_(q) ²<<var{s_(q)} for q>0, the influence of the mean bias ε_(q) given in equation 29 is of minor importance. For a temporal cepstrum smoothing zero mean cepstral coefficients are neither assumed nor required. 

1. A method for determining unbiased signal amplitude estimates after cepstral variance modification of a discrete time domain signal, wherein cepstrally modified spectral amplitudes of the discrete time domain signal are χ-distributed with 2{tilde over (μ)} degrees of freedom, the method which comprises: determining a cepstral variance of cepstral coefficients of the discrete time domain signal prior to cepstral variance modification; determining a mean cepstral variance after cepstral variance modification of modified cepstral coefficients using the cepstral variance prior to cepstral variance modification; determining the 2{tilde over (μ)} degrees of freedom after the cepstral variance modification using the mean cepstral variance; determining a bias reduction factor with the equation $r^{2} = {\frac{\mu}{\overset{\sim}{\mu}}{\mathbb{e}}^{{\psi{(\overset{\sim}{\mu})}} - {\psi{(\mu)}}}}$ where 2μ are the degrees of freedom of the χ-distributed spectral amplitudes of the discrete time domain signal (s(t)) and ${{\psi(x)} = {{- 0.5772} - {\sum\limits_{n = 0}^{\infty}\left( {\frac{1}{x + n} - \frac{1}{1 + n}} \right)}}};{and}$ determining the unbiased signal amplitude estimates by multiplying the cepstrally-modified spectral amplitudes with the bias reduction factor according to the equation

=

; where

 are the unbiased signal amplitude estimates,

 are the cepstrally-modified spectral amplitudes, and r is the bias reduction factor.
 2. The method according to claim 1, which comprises determining the cepstral variance of cepstral coefficients of the discrete time domain signal prior to cepstral variance modification using the equation ${{{var}\left\{ s_{q} \right\}} = {\frac{1}{K}\left( {{\zeta\left( {2,\mu} \right)} + {2{\sum\limits_{m = 1}^{M}{\kappa_{m}{\cos\left( {m\frac{2\pi}{K}q} \right)}}}}} \right)}},$ where var{s_(q)} is the cepstral variance, K is a segment size, ${{\zeta\left( {z,\mu} \right)} = {\sum\limits_{n = 0}^{\infty}\frac{1}{\left( {\mu + n} \right)^{z}}}},$ M is a presetable natural number, K _(m) is a covariance between two log-periodogram bins log(|S_(k)|²) that are m bins apart, s_(q) are the cepstral coefficients, and q is a cepstral coefficient index.
 3. The method according to claim 2, wherein K _(m)=0 for m>0.
 4. The method according to claim 2, wherein K ₁=0.507 and K _(m)=0 for m>1.
 5. The method according to claim 1, which comprises determining the mean cepstral variance ( var{{tilde over (s)}_(q)}) after cepstral variance modification of modified cepstral coefficients ({tilde over (s)}_(q)) using the equation ${\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}{{var}\left\{ s_{q} \right\} b_{q}}}}},$ where var{{tilde over (s)}_(q)} is the mean cepstral variance, {tilde over (s)}_(q) the modified cepstral coefficients, and √ b_(q) is a presetable quefrency dependent modification factor.
 6. The method according to claim 5, wherein b_(q)ε{0, 1} is an indicator function configured to set those cepstral coefficients to zero that are below a presetable variance threshold.
 7. The method according to claim 1, which comprises determining the mean cepstral variance after cepstral variance modification of modified cepstral coefficients using the equation ${\overset{\_}{{var}\left\{ {\overset{\sim}{s}}_{q} \right\}} = {\frac{1}{{K/2} - 1}{\sum\limits_{q = 1}^{{K/2} - 1}{{var}\left\{ s_{q} \right\}\frac{1 - \alpha_{q}}{1 + \alpha_{q}}}}}},$ where var{{tilde over (s)}_(q)} the mean cepstral variance, {tilde over (s)}_(q) are the modified cepstral coefficients, and α_(q) is a presetable quefrency-dependent modification factor.
 8. The method according to claim 1, which comprises determining the 2{tilde over (μ)} degrees of freedom after cepstral variance modification using the equation ζ(2, {tilde over (μ)})=K var{{tilde over (s)}_(q)}.
 9. A method for speech enhancement, which comprises carrying out the method according to claim
 1. 10. A hearing aid, comprising a digital signal processor programmed to carry out the method according to claim
 1. 11. A computer program product with a computer program comprising executable software instructions for executing the method according to claim 1 when the computer program is executed in a control unit. 